package aop.service;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Primary
@Service
public class MathCalculatorImpl implements MathCalculator {
    @Override
    public int div(int i, int j) {
        System.out.println("MathCalculator...div...方法执行");
        return i / j;
    }
}
